<!DOCTYPE html>
<html>
<head>
    <title>维护页面</title>
    <script type="text/javascript">

         function refreshTable() {
            $("input[name=currentPage]").val(1);
            $("#search_qzHz_table").ajaxSubmit({
                url:'${absoluteContextPath}/qz/qzActual/hzajaxList',
                success:function(data) {
                    var data = JSON.parse(data);
                    if (data.returnCode == 1) {
                        $("#tableContent").html(data.content.data);
                    } else {
                        $.showMessage({parentId:"showMessage",message:"表格数据加载异常！",type:"success"});
                    }
                }
            });
        }


         function popExportExcelHz() {
             $("#search_qzHz_table").attr('action', '${absoluteContextPath}/qz/qzActual/export');
             $("#search_qzHz_table").submit();
             $("#search_qzHz_table").attr('action', '${absoluteContextPath}/qz/qzActual/hzlist');
         }
    </script>
</head>
<body>

<div class="breadcrumbs">
    <ol class="breadcrumb">
        <li><a href="${absoluteContextPath}/home"><i class="fa fa-home"></i>首页</a></li>
        <li><a href="#">用户管理</a></li>
        <li class="active">综合查询</li>
    </ol>
</div>

<div class="main">
    <!-- row -->
    <div class="row">
        <div class="col-md-12">
        <form id="search_qzHz_table" action="${absoluteContextPath}/qz/qzActual/hzlist" method="post">
            <input class="form-control" type="hidden" name="sign" value="4" placeholder="" type="text">
        </form>

            <section class="tile">
                <div class="tile-header">
                    <h1>
                        <button type="button" class="btn btn-green" onclick="popExportExcelHz();"><i
                                class="fa fa-plus"></i><span class="margin-left-5">导出</span></button>
                    </h1>
                </div>
                <div class="tile-body nopadding">
                    <div class="table-responsive" id="tableContent">
                        <#include "table.ftl"/>
                    </div>
                </div>
            </section>
        </div>
    </div>
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    </div>
</div>
</body>
</html>
